Xbasic

SQL::ConnectionListSyntaxes Method

Syntax

Syntax_List as C = ListSyntaxes()

Returns

Syntax_List Character

A list of installed SQL Syntaxes.

Description

Create a crlf() delimited list of installed SQL Syntaxes.

Discussion

The ListSyntaxes() method returns a CR-LF delimited list of installed SQL Syntaxes.

Example

dim conn as SQL::Connection
dim connString as C
connString = "{A5API='Access', FileName='c:\program files\a5v8\mdbfiles\alphasports.mdb'}"
if .not. conn.open(connString)
    ui_msg_box("Error", conn.CallResult.text)
    end
end if
ui_msg_box("Syntaxes", conn.ListSyntaxes())
conn.close()

See Also